package com.xiaodu.acer.phoneplay.ui.fragment;

import com.xiaodu.acer.phoneplay.bean.PageBean;
import com.xiaodu.acer.phoneplay.bean.Subject;
import com.xiaodu.acer.phoneplay.bean.SubjectDetail;
import com.xiaodu.acer.phoneplay.di.component.AppComponent;
import com.xiaodu.acer.phoneplay.di.component.DaggerSubjectComponent;
import com.xiaodu.acer.phoneplay.di.module.SubjectModule;
import com.xiaodu.acer.phoneplay.presenter.SubjectPresenter;
import com.xiaodu.acer.phoneplay.presenter.contract.SubjectContract;
import com.xiaodu.acer.phoneplay.ui.base.ProgressFragment;


public abstract class BaseSubjectFragment extends
        ProgressFragment<SubjectPresenter>
        implements SubjectContract.View {


    @Override
    public void showSubjects(PageBean<Subject> subjects) {

    }

    @Override
    public void onLoadMoreComplete() {

    }

    @Override
    public void showSubjectDetail(SubjectDetail detail) {

    }


    @Override
    public void setupAcitivtyComponent(AppComponent appComponent) {

        DaggerSubjectComponent.builder().appComponent( appComponent ).subjectModule( new SubjectModule( this ) )
                .build().inject( this );
    }
}
